<!DOCTYPE html>
<html lang="en"  xmlns:th="Http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h3>Book 类型</h3>

<table border="1">
        <tr><td>ID</td><td>name</td><td>author</td><td>type_id</td></tr>
        <tr th:each="i:${bookList}">
            <td th:text="${i.id}"></td>
            <td th:text="${i.name}"></td>
            <td th:text="${i.author}"></td>
            <td th:text="${i.typeId}"></td>
        </tr>
</table>

</body>
</html>